package com.bifrost.model.ro;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;
import java.util.List;

/**
 * @author Lee
 * Create Class on 2018/4/27
 * @com.bifrost.model.vo
 * @WMALL_DQ
 */
@Data
@ApiModel("批量上传模板对象")
public class ProductImgUploadRO implements Serializable {

    @ApiModelProperty(name = "externalId" , value = "商品编码")
    private String externalId;
    @ApiModelProperty(name = "productId" , value = "商品id")
    private Long productId;
    @NotBlank(message = "标签不可以为空")
    @ApiModelProperty(name = "tag" , value = "标签:  product   /  store")
    private String tag;
    @ApiModelProperty(name = "mainImgs" , value = "主图BASE64编码[]")
    private List<String> mainImgs;
    @ApiModelProperty(name = "detailImgs" , value = "详情BASE64编码[]")
    private List<String> detailImgs;

}
